import Vue from 'vue'
import router from '@/router'
import store from '@/store'
import App from '@/App'
import TypeNav from '@/components/TypeNav'
import '@/filters'
import '@/mock'
import './assets/css/reset.css'
import 'nprogress/nprogress.css'
import './assets/iconfont/iconfont.css'
Vue.component('TypeNav', TypeNav)
Vue.config.productionTip = false
new Vue({
  render: (h) => h(App),
  store,
  router,
  beforeCreate() {
    Vue.prototype.$bus = this
  },
}).$mount('#app')
